package com.hmkj.core.po.suggestion;

import com.hmkj.common.baseMapper.GenericPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.util.function.Consumer;


/**
 * 问题反馈实体信息<br>
 *
 * @author eproo
 * @date 2018-07-07 02:52:40
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "问题反馈")
@Table(name = "s_suggestion")
public class Suggestion extends GenericPo<Integer> {

    public static final String TABLE_NAME = "s_suggestion";


    /**
     * 用户ID
     **/
    @ApiModelProperty(value = "用户ID")
    private Integer userId;
    /**
     * 建议
     **/
    @ApiModelProperty(value = "建议")
    private String suggestion;
    /**
     * 备注
     **/
    @ApiModelProperty(value = "备注")
    private String remark;

    public Suggestion() {
    }

    public Suggestion(Consumer<Suggestion> consumer) {
        consumer.accept(this);
    }
}

